package club.banyuan.oop.Geometry;

/**
 * @author edz
 * @version 1.0
 * @date 2020/11/20 下午2:34
 */
public class Cuboid {
    private double length;
    private double width;

    public Cuboid() {
    }

    public Cuboid(double length, double width) {
        this.length = length;
        this.width = width;
    }

    public double getLength() {
        return length;
    }

    public void setLength(double length) {
        this.length = length;
    }

    public double getWidth() {
        return width;
    }

    public void setWidth(double width) {
        this.width = width;
    }


    public double Area(double length, double width) {
        double area = length * width;
        return area;
    }

}
